﻿@model FilmBookingTicket.Models.ChairType

@{
    ViewBag.Title = "Thêm loại ghế";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Thêm loại ghế</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <table class="table striped bordered hovered" style="margin: 0px 0px 0px 40px">
        <tr>
            <td style="padding: 0px 10px 0px 20px">
                <div>
                    Loại ghế
                </div>
                <div class="input-control text">
                    @Html.EditorFor(model => model.TypeName)
                    @Html.ValidationMessageFor(model => model.TypeName)
                </div>
            </td>
            <td style="padding: 0px 10px 0px 20px">
                <div>
                    Hệ số
                </div>
                <div class="input-control text">
                    @Html.EditorFor(model => model.Rate)
                    @Html.ValidationMessageFor(model => model.Rate)
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="Thêm mới" />
            </td>
        </tr>
    </table>
}

<div>
    @Html.ActionLink("Quay lại", "Index")
</div>

